﻿@using FCTC_Web.Models
@model Estimator
<div class="pinggu_4">
    <div class="pinggu_5">
        <dl>
            <dt>
                @if (Model.Imgs != null && Model.Imgs.Count > 1)
                {
                    <a href="@Url.Action("Details", "estimatorDefault", new { id = Model.ID })">
                        <img src="@Url.Action("ShowImage", "Image", new { id = Model.Imgs[1].ID })" width="92" height="116" alt="tu" />
                    </a>
                }
                else
                {
                    <a href="@Url.Action("Details", "estimatorDefault", new { id = Model.ID })">
                        <img src="/images/moren_person.jpg" alt="" />
                    </a>
                }
            </dt>
            <dd>
                <div class="pinggu_right">
                    <p>
                        评估师：<b>@Model.Personal.FullName</b></p>
                    <p>
                        免费评估热线：<span>@Model.WorkPhone</span></p>
                    <p>
                        服务单位：<span>@Model.WorkFor</span></p>
                </div>
                <div class="pinggu_right_2">
                    <ul>
                        <li>
                        @if (Model.Medal == "一级")
                        {
                            <img src="/images/pinggu_tu_7.gif" width="39" height="39" alt="tu" /><p>
                                一星勋章</p>
                        }
                         @if (Model.Medal == "二级")
                        {
                            <img src="/images/pinggu_tu_4.gif" width="39" height="39" alt="tu" /><p>
                                二星勋章</p>
                        }
                         @if (Model.Medal == "三级")
                        {
                            <img src="/images/pinggu_tu_8.gif" width="39" height="39" alt="tu" /><p>
                                三星勋章</p>
                        }
                         @if (Model.Medal == "四级")
                        {
                            <img src="/images/pinggu_tu_9.gif" width="39" height="39" alt="tu" /><p>
                                四星勋章</p>
                        }
                        </li>
                        <li>
                        @if(Model.HasTrustMedal)
                        {
                            <img src="/images/pinggu_tu_5.gif" width="39" height="39" alt="tu" /><p>
                                诚信勋章</p>
                                }
                        </li>
                        <li>
                        @if (Model.HasOutStandingMedal)
                        {
                            <img src="/images/pinggu_tu_6.gif" width="39" height="39" alt="tu" /><p>
                                优秀勋章</p>
                        }
                        </li>
                    </ul>
                </div>
            </dd>
        </dl>
    </div>
    <div class="pinggu_6">
        <ul>
            <li><a href=@Url.Action("Details", "EstimatorDefault", new { id = Model.ID })>详细了解我</a></li>
            <span>
                <li><a href="#">给我发站内信</a></li></span>
        </ul>
    </div>
</div>
